#!/bin/bash

filePath=$*
filePath=${filePath:0:${#filePath}-1}
folderName=${filePath##*/}
echo -ne "\033]0;"${folderName}"\007"